package com.yunnuo.monitor.job.entity;

import com.yunnuo.system.comm.entity.IdEntity;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * 定时任务
 *
 * @author 魏洪福（15064000912@163.com）
 * @create 2018-09-25-13:29
 */
@Entity
@Table(name="SYSMON_JOB")
public class MonJob extends IdEntity  {

    /**
     * 任务创建人
     */
    private String  loginName;
    /**
     * 任务名称
     */
    private String taskName;

    /**
     * 任务执行策略cron表达式
     */
    private String operation;

    /**
     * 任务执行方法
     */
    private String method;

    /**
     * 任务备注
     */
    private String params;

    /**
     * 任务状态
     */
    private String status;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 修改时间
     */
    private Date updateTime;

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    public String getOperation() {
        return operation;
    }

    public void setOperation(String operation) {
        this.operation = operation;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public String getParams() {
        return params;
    }

    public void setParams(String params) {
        this.params = params;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
}
